package com.wisdytech.linkdcs.linkdcsservicepad.pad.service;

import com.wisdytech.linkdcs.pad.model.IpqcInspectionActual;
import com.wisdytech.linkdcs.pad.model.IpqcInspectionDetail;
import com.wisdytech.linkdcs.pad.model.IpqcInspectionRecord;

import java.util.List;
import java.util.Map;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author chenbin
 * @since 2018-08-13
 */
public interface IpqcInspectionSheetService{

    Map<String, Object> confirmInspectionTarget(Map<String, String> paramsMap, String inspectionSheetId);

    List<IpqcInspectionDetail> getIpqcDetail(String inspectionSheetId);

    void checkIpqcDetail(String inspectionDetailId, String username);

    List<IpqcInspectionRecord> getIpqcRecord(String inspectionDetailId, String itemType);

    List<IpqcInspectionActual> getInspectionActual(String inspectionRecordId);

    void saveInspectionActual(List<IpqcInspectionActual> list, String username);

    void saveIpqcRecord(List<IpqcInspectionRecord> list);

    void updateIpqcDetail(IpqcInspectionDetail det);

    void deleteInspectionActual(String ids);
}
